<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@taglib prefix="shiro" uri="http://shiro.apache.org/tags"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<script type="text/javascript"
	src="<%=basePath%>statics/js/base/baserole/base_role_authority_add.js"></script>
<style type="text/css">
	.checkbox{
		float: left;
	}
</style>
</head>
<form id="addForm">
	<div 
		style="text-align: left; color: #333333; font-family: 宋体; font-size: 12px;">
		<div id="tableDiv" >
		<table  >
			<tr>
				<td style="width: 85px; text-align: right;"><span>角色名称：</span></td>
				<td style="width: 220px">
					<input type="text" style="width: 180px" id="add_roleName" name="roleName"/> 
					<img alt="" src="<%=basePath%>statics/images/common/star.gif" width="9" height="10"></td>
				<td style="width: 85px; text-align: right;"><span>角色标识：</span></td>
				<td style="width: 220px">
					<input type="text" style="width: 180px" id="roleFlag" name="roleFlag"/> 
					<img alt="" src="<%=basePath%>statics/images/common/star.gif" width="9" height="10">
				</td>
				<td style="width: 85px; text-align: right;"><span>参考角色：</span></td>
				<td ><input type="text" style="width: 200px" id="roleList"
					name="roleList" readonly /></td>
			</tr>
		</table>
		</div>
		<div id="tabs" >
			<ul id="tabsUl">
				<li><a href="#baseAuth">基础权限</a></li>
				<li><a href="#menuAuth">菜单权限</a></li>
			</ul>
		<div id="baseAuth" style="overflow: auto;"  >
		<div class="grid-list" >
			<table id="baseAuthority" class="table_list" cellspacing='0' cellpadding="0" width='100%' style="overflow-y: auto;"></table>
		</div>
		</div>
		<div id="menuAuth" style="overflow: auto;" >
			<div id="462" class="menuAuthority"></div>
		</div>
	</div>
	<div id="roleListDiv" class="menuContent"
		style="width: 220px; overflow-y: auto;">
		<ul id="roleListzTree" class="ztree"></ul>
	</div>
	</div>
	 <div class="buttons" id="btnDiv">
        <button type="submit">保存</button>
        <button id="cancleBtn" type="button" class="red">取消</button>
	 </div>
</form>